<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>主页</title>
		<link rel="stylesheet" type="text/css" href="css/main.css">
		<link rel="stylesheet" type="text/css" href="css/slide.css">
		<link rel="stylesheet" type="text/css" href="css/slides.css">
		<script type="text/javascript" src="js/easySlider1.5.js"></script>
		<script type="text/javascript" src="js/jquery.flow.1.2.auto.js"></script>
		<script type="text/javascript">
			jQuery(document).ready(function(){	
				jQuery("#slider").easySlider({
					auto: true,
					continuous: true 
				});
				jQuery("#myController").jFlow({
					slides: "#slides",
					controller: ".jFlowControl", // must be class, use . sign
					slideWrapper : "#jFlowSlide", // must be id, use # sign
					selectedWrapper: "jFlowSelected",  // just pure text, no sign
					auto: true,		//auto change slide, default true
					width: "670px",
					height: "245px",
					duration: 1500,
					prev: ".jFlowPrev", // must be class, use . sign
					next: ".jFlowNext" // must be class, use . sign
				});
			});	
		</script>
	</head>
	<body>
		<div id="main_top">
			<div id="main_top_left">
				<table id="home_notice_table">
					<tbody>
						<s:iterator	value="latestNotices" status="it">
							<tr>
								<td class="latestNotices_num">
									${it.index+1}
								</td>
								<td class="latestNotices_title">
									<a href="article/viewArticle.action?part=8&uuid=${uuid}" target="_blank">${title}</a>
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
				<div id="home_notice_more">
					<a href="article/viewArticles.action?cid=3">更多... &gt;&gt;</a>
				</div>
			</div>
			<div id="main_top_right">
				<div id="slides">
					<s:iterator value="latestHeadNews">
						<div class="slide-wrapper">
							<div class="slide-thumbnail">
								<a href="article/viewArticle.action?uuid=${uuid}">
									<img src="upload/image/${imagePath}" alt="${title}"/>
								</a>
							</div>
							<div class="slide-details">
								<a href="article/viewArticle.action?uuid=${uuid}">${title}</a>
							</div>
							<div class="clear"></div>
						</div>
					</s:iterator>
				</div>
				<div id="myController">
					<span class="jFlowPrev"></span>
					<s:iterator value="latestHeadNews" status="st">
						<span class="jFlowControl">${st.index+1}</span>
					</s:iterator>
					<span class="jFlowNext"></span>
				</div>
			</div>
		</div>
		<div class="main_middle">
			<div class="main_middle_left">
				<div class="main_middle_block_title">
					<a href="article/viewArticles.action?categoryId=1" class="a_more">
						最新动态
					</a>
				</div>
				<div class="main_middle_block_body">
					<table>
						<tbody>
							<s:iterator	value="latestNews">
								<tr>
									<td width="15">
										<img alt="" src="images/list.gif">
									</td>
									<td width="400">
										<a href="article/viewArticle.action?uuid=${uuid}" target="_blank">${title}</a>
									</td>
									<td width="50" class="date_time">
										<s:date name="updateDate" format="MM-dd"/>
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
				</div>
			</div>
			<div class="main_middle_right">
				<div class="main_middle_block_title">
					<a href="article/viewArticles.action?categoryId=1" class="a_more">
						行业资讯
					</a>
				</div>
				<div class="main_middle_block_body">
					<table>
						<tbody>
							<s:iterator	value="latestNews1">
								<tr>
									<td width="15">
										<img alt="" src="images/list.gif">
									</td>
									<td width="400">
										<a href="article/viewArticle.action?uuid=${uuid}" target="_blank">${title}</a>
									</td>
									<td width="50" class="date_time">
										<s:date name="updateDate" format="MM-dd"/>
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		
		<div class="main_middle">
			<div class="main_middle_left">
				<div class="main_middle_block_title">
					<a href="article/viewArticles.action?categoryId=1" class="a_more">
						企业风采
					</a>
				</div>
				<div class="main_middle_block_body">
					<table>
						<tbody>
							<s:iterator	value="latestNews2">
								<tr>
									<td width="15">
										<img alt="" src="images/list.gif">
									</td>
									<td width="400">
										<a href="article/viewArticle.action?uuid=${uuid}" target="_blank">${title}</a>
									</td>
									<td width="50" class="date_time">
										<s:date name="updateDate" format="MM-dd"/>
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
				</div>
			</div>
			<div class="main_middle_right">
				<div class="main_middle_block_title">
					<a href="article/viewArticles.action?categoryId=1" class="a_more">
						技术合作
					</a>
				</div>
				<div class="main_middle_block_body">
					<table>
						<tbody>
							<s:iterator	value="latestNews3">
								<tr>
									<td width="15">
										<img alt="" src="images/list.gif">
									</td>
									<td width="400">
										<a href="article/viewArticle.action?uuid=${uuid}" target="_blank">${title}</a>
									</td>
									<td width="50" class="date_time">
										<s:date name="updateDate" format="MM-dd"/>
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		
		<div class="main_middle">
			<div class="main_middle_left">
				<div class="main_middle_block_title">
					<a href="article/viewArticles.action?categoryId=1" class="a_more">
						招商引资
					</a>
				</div>
				<div class="main_middle_block_body">
					<table>
						<tbody>
							<s:iterator	value="latestNews4">
								<tr>
									<td width="15">
										<img alt="" src="images/list.gif">
									</td>
									<td width="400">
										<a href="article/viewArticle.action?uuid=${uuid}" target="_blank">${title}</a>
									</td>
									<td width="50" class="date_time">
										<s:date name="updateDate" format="MM-dd"/>
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
				</div>
			</div>
			<div class="main_middle_right">
				<div class="main_middle_block_title">
					<a href="article/viewArticles.action?categoryId=1" class="a_more">
						技术培训
					</a>
				</div>
				<div class="main_middle_block_body">
					<table>
						<tbody>
							<s:iterator	value="latestNews5">
								<tr>
									<td width="15">
										<img alt="" src="images/list.gif">
									</td>
									<td width="400">
										<a href="article/viewArticle.action?uuid=${uuid}" target="_blank">${title}</a>
									</td>
									<td width="50" class="date_time">
										<s:date name="updateDate" format="MM-dd"/>
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		<div id="site_links">
			<a href="http://www.mengyin.net/" target="_blank" style="margin-left:180px;">
				<span>
					蒙阴县科技局
				</span>
			</a>
			<a href="http://www.mengyin.net/" target="_blank">
				<span>
					蒙阴县科技局
				</span>
			</a>
			<a href="http://www.mengyin.net/" target="_blank">
				<span>
					蒙阴县科技局
				</span>
			</a>
			<a href="http://www.mengyin.net/" target="_blank">
				<span>
					蒙阴县科技局
				</span>
			</a>
			<a href="http://www.mengyin.net/" target="_blank">
				<span>
					蒙阴县科技局
				</span>
			</a>
			<a href="http://www.baidu.com" target="_blank">
				<span>
					百度
				</span>
			</a>
		</div>
	</body>
</html>